Fixes compilation with -Wimplicit-function-declaration
Signed-off-by: Rosen Penev <[email protected]>
PKG_NAME:=libextractor
PKG_VERSION:=1.9
-PKG_RELEASE:=1
+PKG_RELEASE:=2
# ToDo:
# - package missing optional dependencies: libexiv2, gsf, librpm, smf, tidy
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
PKG_HASH:=f08f257d26c5e9b503f068d6753c8e55cb76f47f73a81da6ed2bba3de3fee2ff
-PKG_LICENSE:=GPL-3.0
+PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
--- /dev/null
+diff --git a/src/common/le_architecture.h b/src/common/le_architecture.h
+index b863ddb..713acdd 100644
+--- a/src/common/le_architecture.h
++++ b/src/common/le_architecture.h
+@@ -26,6 +26,8 @@
+ \r
+ #if WINDOWS\r
+ #include <sys/param.h> /* #define BYTE_ORDER */\r
++#else\r
++#include <byteswap.h>\r
+ #endif\r
+ \r
+ /* This is copied directly from GNUnet headers */\r